package com.oa.admin.entity;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;


import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 员工福利提醒
 * </p>
 *
 * @author syb123
 * @since 2019-01-22
 */
@Data
@TableName("admin_emp_benefits_remind")
@ApiModel(value = "员工福利提醒")
public class EmpBenefitsRemind extends Model<EmpBenefitsRemind> {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "事项名称")
    private String name;

    @ApiModelProperty(value = "类别(选择)")
    private String type;

    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @ApiModelProperty(value = "提醒日期")
    private Date remindTime;

    @ApiModelProperty(value = "预算")
    private String budget;

    @ApiModelProperty("通知人")
    private String alertOthers;

    @ApiModelProperty(value = "是否删除 1-已删除 2-未删除")
    private Integer isDeleted;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}